<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.pagination.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-pagination-basic" [sourceData]="basicSource">
      <d-basic demo></d-basic>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'minimalist-model'">
    <div class="devui-demo-title">{{ 'components.pagination.liteDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.pagination.liteDemo.description' | translate }}</div>
    <d-codebox id="components-pagination-lite" [sourceData]="liteSource">
      <d-lite demo></d-lite>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'multiple-configurations'">
    <div class="devui-demo-title">{{ 'components.pagination.widgetsDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.pagination.widgetsDemo.description' | translate }}</div>
    <d-codebox id="components-pagination-lite" [sourceData]="widgetsSource">
      <d-widgets demo></d-widgets>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'exceptional-case'">
    <div class="devui-demo-title">{{ 'components.pagination.additionalDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.pagination.additionalDemo.description' | translate }}</div>
    <d-codebox id="components-pagination-additional" [sourceData]="additionalSource">
      <d-additional demo></d-additional>
    </d-codebox>
  </div>
</div>
